Add "archive" as an alias for "archive-z2"
authorColin Walters <walters@verbum.org>
Thu, 16 Jun 2016 14:07:26 +0000 (10:07 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 16 Jun 2016 14:34:23 +0000 (14:34 +0000)
commitab47a8a0306d79fd13d618fd13c26b3134053011
tree63dae7f50bce6bbc7c73a61287d03f39b6547ee5
parent85f202d0b294a60495997b05be07f7b400b37cb5
Add "archive" as an alias for "archive-z2"

I find the "-z2" is really a long ago relic of the past when I changed
the format.  We no longer have anything to do with the original
`archive`, so let's start allowing people to type `--mode=archive`
which just looks saner.

At some point later I'll update the docs too, but it'll be an annoying
transition period as we'll have to say "On older OSTree, use -z2" etc.

Closes: #346
Approved by: giuseppe
src/libostree/ostree-repo.c
tests/basic-test.sh